<div class="container  w-xxl w-auto-xs" ng-controller="LoginController" ng-init="app.settings.container = false;">
    <a href class="navbar-brand block m-t">{{app.name}}</a>

        <form name="form" class="form-validation">
            <div class="text-danger wrapper text-center" ng-show="authError != ''">
                {{authError}}
            </div>
            <div class="list-group list-group-sm">
                <div class="list-group-item">
                    <input type="text" placeholder="请输入用户名" class="form-control no-border" ng-model="user.account"
                           required>
                </div>
                <div class="list-group-item">
                    <input type="password" placeholder="密码" class="form-control no-border"
                           ng-model="user.password" required>
                </div>
            </div>
            <button type="submit" class="btn btn-lg btn-success btn-block" ng-click="login()"
                    ng-disabled='form.$invalid'>Log in
            </button>
        </form>
        <div>
            请使用<span style="color:red;">Beetle系统账号密码</span>登录.<br>
            如果您没有Beetle系统账号,用户名为<span style="color:red;">邮箱前缀</span>,初始密码:<span style="color:red;">888888</span>.<br>
            登录成功后请点击右上方头像修改密码,避免被他人使用.<br>
            登录过程中遇到问题,可以联系系统管理员@王健
        </div>
    </div>
    <div class="text-center" ng-include="'tpl/blocks/page_footer.html'">
        {% include 'blocks/page_footer.html' %}
    </div>
</div>